/*
 * Copyright 2019 Red Hat, Inc. and/or its affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


[data-i18n-prefix="SearchBarComponentView."] {

  .kie-toolbar-find {
    position: absolute;
    top: 2px;
    right: 20px;
    width: 30px;

    button.btn.btn-link.btn-find {
      outline: none;
    }

    .kie-find-pf-dropdown-container {
      top: 37px;
      right: -17px;
      text-align: left;
      display: block;
      width: 350px;
      border-radius: 3px;
      box-shadow: 0 3px 3px rgba(0, 0, 0, .15);
      outline: none;

      input {
        padding: 5px 50px 5px 5px;
        width: 250px;
      }

      input:focus {
        border-color: inherit;
        box-shadow: none;
      }

      .find-pf-buttons {
        width: 85px;
        height: 30px;
        right: 5px;
        text-align: right;
      }

      .find-pf-nums {
        position: absolute;
        top: 11px;
        right: 100px;
        height: 20px;
        color: #8b8d8f;
        pointer-events: none;
        font-size: .9em;
      }

      .find-pf-buttons {
        div,
        span,
        button {
          display: inline-block;
          vertical-align: middle;
        }

        button.btn.btn-link {
          color: #444;
          width: 20px;
          outline: none;
        }

        button.btn.btn-link.btn-find-close {
          width: 25px;
        }

        .find-splitter {
          border-left: 1px solid #DDD;
          height: 20px;
          margin: 0 1px;
        }
      }
    }
  }
}
